package com.ruoyi.receipt.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 知识点管理对象 tb_knowledge_manager
 * 
 * @author ruoyi
 * @date 2021-03-29
 */
public class TbKnowledgeManager extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** tb_knowledge_list表id */
    @Excel(name = "tb_knowledge_list表id")
    private Long knowledgeListId;

    //教案内容
    private String teachingPlanContent;

    public String getTeachingPlanContent() {
        return teachingPlanContent;
    }

    public void setTeachingPlanContent(String teachingPlanContent) {
        this.teachingPlanContent = teachingPlanContent;
    }

    /** 标题 */
    @Excel(name = "标题")
    private String title;

    /** 年级->dict_grade */
    @Excel(name = "年级")
    private Integer grade;

    /** 科目->dict_subject */
    @Excel(name = "科目")
    private Integer subject;

    /** 单元(章) */
    @Excel(name = "单元(章)")
    private String unit;

    /** 上下册->dict_volume */
    @Excel(name = "上下册")
    private Integer volume;

    //知识点排序
    private Integer sort;

    /** 第几节 */
    @Excel(name = "第几节")
    private Long pitchNumber;

    /** 视频 */
    @Excel(name = "视频")
    private String videoUrl;

    /** 难度（1-100  默认30） */
    @Excel(name = "难度", readConverterExp = "1=-100,默=认30")
    private Long diffictRatio;

    private Long diffictRatioStart;
    private Long diffictRatioEnd;

    public Long getDiffictRatioStart() {
        return diffictRatioStart;
    }

    public void setDiffictRatioStart(Long diffictRatioStart) {
        this.diffictRatioStart = diffictRatioStart;
    }

    public Long getDiffictRatioEnd() {
        return diffictRatioEnd;
    }

    public void setDiffictRatioEnd(Long diffictRatioEnd) {
        this.diffictRatioEnd = diffictRatioEnd;
    }

    /** 重要性（1-100）默认30 */
    @Excel(name = "重要性", readConverterExp = "1=-100")
    private Long importRatio;

    /** 基础分值（1-1000）默认300 */
    @Excel(name = "基础分值", readConverterExp = "1=-1000")
    private Long baseRatio;

    /** 知识点得分(根据难度+重要性+基础分值得出) */
    @Excel(name = "知识点得分(根据难度+重要性+基础分值得出)")
    private Long knowledgeScore;

    /** 知识点例题个数,默认5道 */
    @Excel(name = "知识点例题个数,默认5道")
    private Integer exampleSubjectNumber;

    /** 处理状态 1未审核  2已审核 3驳回 */
    @Excel(name = "处理状态 1未审核  2已审核 3驳回")
    private Integer status;

    /** 删除状态 0未删除(默认) 1已删除 */
    @Excel(name = "删除状态 0未删除(默认) 1已删除")
    private Integer isDel;

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setKnowledgeListId(Long knowledgeListId) 
    {
        this.knowledgeListId = knowledgeListId;
    }

    public Long getKnowledgeListId() 
    {
        return knowledgeListId;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setGrade(Integer grade) 
    {
        this.grade = grade;
    }

    public Integer getGrade() 
    {
        return grade;
    }
    public void setSubject(Integer subject) 
    {
        this.subject = subject;
    }

    public Integer getSubject() 
    {
        return subject;
    }
    public void setUnit(String unit) 
    {
        this.unit = unit;
    }

    public String getUnit() 
    {
        return unit;
    }
    public void setVolume(Integer volume) 
    {
        this.volume = volume;
    }

    public Integer getVolume() 
    {
        return volume;
    }
    public void setPitchNumber(Long pitchNumber) 
    {
        this.pitchNumber = pitchNumber;
    }

    public Long getPitchNumber() 
    {
        return pitchNumber;
    }
    public void setVideoUrl(String videoUrl) 
    {
        this.videoUrl = videoUrl;
    }

    public String getVideoUrl() 
    {
        return videoUrl;
    }
    public void setDiffictRatio(Long diffictRatio) 
    {
        this.diffictRatio = diffictRatio;
    }

    public Long getDiffictRatio() 
    {
        return diffictRatio;
    }
    public void setImportRatio(Long importRatio) 
    {
        this.importRatio = importRatio;
    }

    public Long getImportRatio() 
    {
        return importRatio;
    }
    public void setBaseRatio(Long baseRatio) 
    {
        this.baseRatio = baseRatio;
    }

    public Long getBaseRatio() 
    {
        return baseRatio;
    }
    public void setKnowledgeScore(Long knowledgeScore) 
    {
        this.knowledgeScore = knowledgeScore;
    }

    public Long getKnowledgeScore() 
    {
        return knowledgeScore;
    }
    public void setExampleSubjectNumber(Integer exampleSubjectNumber) 
    {
        this.exampleSubjectNumber = exampleSubjectNumber;
    }

    public Integer getExampleSubjectNumber() 
    {
        return exampleSubjectNumber;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setIsDel(Integer isDel) 
    {
        this.isDel = isDel;
    }

    public Integer getIsDel() 
    {
        return isDel;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("knowledgeListId", getKnowledgeListId())
            .append("title", getTitle())
            .append("grade", getGrade())
            .append("subject", getSubject())
            .append("unit", getUnit())
            .append("volume", getVolume())
            .append("pitchNumber", getPitchNumber())
            .append("videoUrl", getVideoUrl())
            .append("diffictRatio", getDiffictRatio())
            .append("importRatio", getImportRatio())
            .append("baseRatio", getBaseRatio())
            .append("knowledgeScore", getKnowledgeScore())
            .append("exampleSubjectNumber", getExampleSubjectNumber())
            .append("status", getStatus())
            .append("isDel", getIsDel())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
